const ajax = window.ajaxBusinessContract;

//应收列表
export const apiGatherList = (params) => ajax.request(`/v1/business/bill/income/list`, 'post', params, {
  showLoading: true
});

//应收导出
export const apiGatherExport = (params) => ajax.request(`/v1/business/bill/income/list/export`,'post', params, {
  showLoading: true
});

//应收明细导出
export const apiGatherDetailExport = (params) => ajax.request(`/v1/business/bill/contract/income/list/export`,'post', params, {
  showLoading: true
});

//资产编码的list
export const apiAssetCodeList = (param) => ajax.request(`/v1/business/contract/asset/list`, 'post', param, {
  showLoading: true
});

//品牌
export const apiCategoryList = (param) => window.ajaxbusinessAssets.request(`/v1/business/category/list`, 'post', param, {
  showLoading: false
});

//当期合同
export const apiBusinessContractList = (param) => ajax.request(`/v1/business/contract/query`, 'post', param, {
  showLoading: true
});

//确认应收
export const apiBusinessContractSure = (param) => ajax.request(`/v1/business/bill/income/confirm`, 'post', param, {
  showLoading: true
});

//明细查询
export const apiBusinessDetailedQuery= (param) => ajax.request(`/v1/business/bill/contractIncomeList`, 'post', param, {
  showLoading: true
});